package com.koo.modules.base.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author charlin
 * @email 136137465@qq.com
 * @date 2022-12-19 15:44:45
 */
@Data
@ApiModel()
@TableName("base_dict_item")
public class BaseDictItemEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;


    @ExcelIgnore
    @TableId
    private Long itemId;

    @ColumnWidth(11)
    @ExcelProperty("主表id")
    @ApiModelProperty(value = "主表id")
    private Long dictId;

    @ColumnWidth(11)
    @ExcelProperty("字典项文本")
    @ApiModelProperty(value = "字典项文本")
    private String label;

    @ColumnWidth(11)
    @ExcelProperty("字典项值")
    @ApiModelProperty(value = "字典项值")
    private String value;

    @ColumnWidth(11)
    @ExcelProperty("排序")
    @ApiModelProperty(value = "排序")
    private Integer sort;


}
